<template>
  <div>
    <div>购物车</div>
  </div>
</template>

<script>
export default {
  data () {
    return {
      products:[]
    }
  },


  methods: {

  },

  created () {
    // let app = getApp()

  },
  mounted () {
    var url ='http://yapi.demo.qunar.com/mock/34766/'
    this.$http.get(url).then(res => {
      console.log(res.data)
      this.products=res.data
    })
  }
}
</script>

<style scoped>
